package net.barashev.seclub.corpus.wikipedia;

import java.io.InputStream;

public class WikipediaFileCorpus extends WikipediaCorpusBase {
    private final String resourcePath;

    public WikipediaFileCorpus(String resourcePath) {
        this.resourcePath = resourcePath;
    }
    @Override
    protected InputStream createInputStream() {
        return getClass().getResourceAsStream(resourcePath);
    }
}
